import React, { Fragment } from 'react'
import CourseTableCell from './CourseTableCell'

export default function CourseTable({ getCellInfor, courseCell }) {
  return (
    <Fragment >
      <div className='course-table-header'>
        <div></div>
        <div>星期一</div>
        <div>星期二</div>
        <div>星期三</div>
        <div>星期四</div>
        <div>星期五</div>
        <div>星期六</div>
        <div>星期天</div>
      </div>
      <div className='course-table-content'>
        <div className='course-table-sider'>
          <div>第一节</div>
          <div>第二节</div>
          <div>第三节</div>
          <div>第四节</div>
          <div>第五节</div>
          <div>第六节</div>
          <div>第七节</div>
          <div>第八节</div>
          <div>第九节</div>
          <div>第十节</div>
        </div>
        <div className='course-table-main'>
          <CourseTableCell getCellInfor={getCellInfor} courseCell={courseCell} />
        </div>
      </div>
    </Fragment>
  )
}
